package org.example.y24.m12;

public class Course {
    private String name;//课程名称
    private Integer startWeek;//起始周
    private Integer endWeek;//截止周
    private Integer week;//单双周：0-全部，1-单周，2-双周
    private String site;//上课地址

    public Course(String name, Integer startWeek, Integer endWeek, Integer week, String site) {
        this.name = name;
        this.startWeek = startWeek;
        this.endWeek = endWeek;
        this.week = week;
        this.site = site;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStartWeek() {
        return startWeek;
    }

    public void setStartWeek(Integer startWeek) {
        this.startWeek = startWeek;
    }

    public Integer getEndWeek() {
        return endWeek;
    }

    public void setEndWeek(Integer endWeek) {
        this.endWeek = endWeek;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }
}
